package com.duing.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

//权限类
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Fun {

    private Integer fid;
    private String fname;
    private Integer ftype;
    private String furl;
    private Integer pid;
    private String auth_flag;
    private Date  create_time;
    private Integer create_user;
    private Date update_time;
    private Integer update_user;
    private Integer delete_flag;

    private String yl1;
    private String yl2;

    private List<Fun> funList;

    public Fun(Integer fid, String fname, Integer ftype, String furl, Integer pid, String auth_flag, Date create_time, Integer create_user, Date update_time, Integer update_user, Integer delete_flag, String yl1, String yl2) {
        this.fid = fid;
        this.fname = fname;
        this.ftype = ftype;
        this.furl = furl;
        this.pid = pid;
        this.auth_flag = auth_flag;
        this.create_time = create_time;
        this.create_user = create_user;
        this.update_time = update_time;
        this.update_user = update_user;
        this.delete_flag = delete_flag;
        this.yl1 = yl1;
        this.yl2 = yl2;
    }
}
